import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 保养类别*/
// 创建
export const machineManagerUpkeepTypeCreate = (data) => postRequest('/machinemanager/upkeep-type/create', data);
// 更新
export const machineManagerUpkeepTypeUpdate = (data) => putRequest('/machinemanager/upkeep-type/update', data);

// 删除
export const machineManagerUpkeepTypeDelete = (params) => deleteRequest('/machinemanager/upkeep-type/delete', params);

// 获得
export const machineManagerUpkeepTypeGet = (params) => getRequest('/machinemanager/upkeep-type/get', params);

// 分页
export const machineManagerUpkeepTypePage = (params) => getRequest('/machinemanager/upkeep-type/page', params);
